package Day10;

public class SxtStu3 {

    public static void main(String[] args) {
        int[] arr = {1,2,3,4};
        try{
            System.out.println(arr[9]);
        }catch(ArrayIndexOutOfBoundsException e){
            String ett = e.getMessage();
            String err = e.toString();
            System.out.println(ett);
            System.out.println(err);
            e.printStackTrace();
        }
        System.out.println("看看我执行了吗");

    }
}
